\section{Tools.XmlHelper类参考}
\label{class_tools_1_1_xml_helper}\index{Tools::XmlHelper@{Tools::XmlHelper}}


\doxyref{XmlHelper}{p.}{class_tools_1_1_xml_helper} 的摘要说明  


\subsection*{静态公有成员}
\begin{DoxyCompactItemize}
\item 
static string {\bf Read} (string path, string node, string attribute)
\begin{DoxyCompactList}\small\item\em 读取数据 \item\end{DoxyCompactList}\item 
static void {\bf Insert} (string path, string node, string element, string attribute, string value)
\begin{DoxyCompactList}\small\item\em 插入数据 \item\end{DoxyCompactList}\item 
static void {\bf Update} (string path, string node, string attribute, string value)
\begin{DoxyCompactList}\small\item\em 修改数据 \item\end{DoxyCompactList}\item 
static void {\bf Delete} (string path, string node, string attribute)
\begin{DoxyCompactList}\small\item\em 删除数据 \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{详细描述}
\doxyref{XmlHelper}{p.}{class_tools_1_1_xml_helper} 的摘要说明 

\subsection{成员函数文档}
\index{Tools::XmlHelper@{Tools::XmlHelper}!Delete@{Delete}}
\index{Delete@{Delete}!Tools::XmlHelper@{Tools::XmlHelper}}
\subsubsection[{Delete}]{\setlength{\rightskip}{0pt plus 5cm}static void Tools.XmlHelper.Delete (
\begin{DoxyParamCaption}
\item[{string}]{ path, }
\item[{string}]{ node, }
\item[{string}]{ attribute}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_xml_helper_afd502b57f0eb6c29f62db607449b1a78}


删除数据 


\begin{DoxyParams}{参数}
{\em path} & 路径\\
\hline
{\em node} & 节点\\
\hline
{\em attribute} & 属性名，非空时删除该节点属性值，否则删除节点值\\
\hline
{\em value} & 值\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::XmlHelper@{Tools::XmlHelper}!Insert@{Insert}}
\index{Insert@{Insert}!Tools::XmlHelper@{Tools::XmlHelper}}
\subsubsection[{Insert}]{\setlength{\rightskip}{0pt plus 5cm}static void Tools.XmlHelper.Insert (
\begin{DoxyParamCaption}
\item[{string}]{ path, }
\item[{string}]{ node, }
\item[{string}]{ element, }
\item[{string}]{ attribute, }
\item[{string}]{ value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_xml_helper_ad14e85bc9f0d209838cb4bf7de67185c}


插入数据 


\begin{DoxyParams}{参数}
{\em path} & 路径\\
\hline
{\em node} & 节点\\
\hline
{\em element} & 元素名，非空时插入新元素，否则在该元素中插入属性\\
\hline
{\em attribute} & 属性名，非空时插入该元素属性值，否则插入元素值\\
\hline
{\em value} & 值\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}
\index{Tools::XmlHelper@{Tools::XmlHelper}!Read@{Read}}
\index{Read@{Read}!Tools::XmlHelper@{Tools::XmlHelper}}
\subsubsection[{Read}]{\setlength{\rightskip}{0pt plus 5cm}static string Tools.XmlHelper.Read (
\begin{DoxyParamCaption}
\item[{string}]{ path, }
\item[{string}]{ node, }
\item[{string}]{ attribute}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_xml_helper_aa037cf6a95beb228d6fc0b3a40aea0f6}


读取数据 


\begin{DoxyParams}{参数}
{\em path} & 路径\\
\hline
{\em node} & 节点\\
\hline
{\em attribute} & 属性名，非空时返回该属性值，否则返回串联值\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
string
\end{DoxyReturn}
\index{Tools::XmlHelper@{Tools::XmlHelper}!Update@{Update}}
\index{Update@{Update}!Tools::XmlHelper@{Tools::XmlHelper}}
\subsubsection[{Update}]{\setlength{\rightskip}{0pt plus 5cm}static void Tools.XmlHelper.Update (
\begin{DoxyParamCaption}
\item[{string}]{ path, }
\item[{string}]{ node, }
\item[{string}]{ attribute, }
\item[{string}]{ value}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  [static]}}\label{class_tools_1_1_xml_helper_a31f221b9be519625f895c07c26b93f27}


修改数据 


\begin{DoxyParams}{参数}
{\em path} & 路径\\
\hline
{\em node} & 节点\\
\hline
{\em attribute} & 属性名，非空时修改该节点属性值，否则修改节点值\\
\hline
{\em value} & 值\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}

\end{DoxyReturn}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/Tools/XmlHelper.cs\end{DoxyCompactItemize}
